package com.hongawen.designmode.创建型.单例模式.枚举;


/**
 * @author hongawen
 */
public enum SeasonEnum {

    SPRING("春天", "春暖花开"),
    SUMMER("夏天", "夏日炎炎"),
    AUTUMN("秋天", "秋高气爽"),
    WINTER("冬天", "冬至");

    private String name;
    private String desc;

    SeasonEnum(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }


    public String desc() {
        return this.name.concat(": ").concat(this.desc);
    }

}
